#!/bin/bash
ROOT_DIR=$(cd "$(dirname "$0")"; pwd)
SCRIPTS="$ROOT_DIR/iso_root/scripts"

echo ">>> 1. 更新 JSON 配置 (将自动生成 configs/global_iso_config.json)..."
$SCRIPTS/system_json_update.sh

echo ">>> 2. 查看当前系统信息 (System Info) - 测试自动查找配置文件..."
$SCRIPTS/system_info.sh

echo ">>> 3. 模拟系统安装 (System Install)..."
$SCRIPTS/system_install.sh

echo ">>> 4. 模拟系统运行 (System Run)..."
$SCRIPTS/system_run.sh

echo ">>> 5. 模拟检查版本 (Check Vers)..."
$SCRIPTS/system_check_vers.sh

echo ">>> 6. 打包 ISO..."
$SCRIPTS/system_iso.sh
